# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/sunshout/VRSim-0.1/src/VRSim/Ui/LinkConnection.ui'
#
# Created: Tue Oct 27 22:20:59 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_LinkConnection(object):
    def setupUi(self, LinkConnection):
        LinkConnection.setObjectName("LinkConnection")
        LinkConnection.resize(359, 150)
        self.verticalLayout_2 = QtGui.QVBoxLayout(LinkConnection)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_2 = QtGui.QLabel(LinkConnection)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.label = QtGui.QLabel(LinkConnection)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(LinkConnection)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 1, 3, 1, 1)
        self.label_4 = QtGui.QLabel(LinkConnection)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 1, 4, 1, 1)
        self.comboBox_slotA = QtGui.QComboBox(LinkConnection)
        self.comboBox_slotA.setObjectName("comboBox_slotA")
        self.gridLayout.addWidget(self.comboBox_slotA, 2, 0, 1, 1)
        self.comboBox_portA = QtGui.QComboBox(LinkConnection)
        self.comboBox_portA.setObjectName("comboBox_portA")
        self.gridLayout.addWidget(self.comboBox_portA, 2, 1, 1, 1)
        self.comboBox_slotB = QtGui.QComboBox(LinkConnection)
        self.comboBox_slotB.setObjectName("comboBox_slotB")
        self.gridLayout.addWidget(self.comboBox_slotB, 2, 3, 1, 1)
        self.comboBox_portB = QtGui.QComboBox(LinkConnection)
        self.comboBox_portB.setObjectName("comboBox_portB")
        self.gridLayout.addWidget(self.comboBox_portB, 2, 4, 1, 1)
        self.label_routerA = QtGui.QLabel(LinkConnection)
        self.label_routerA.setObjectName("label_routerA")
        self.gridLayout.addWidget(self.label_routerA, 0, 0, 1, 1)
        self.label_routerB = QtGui.QLabel(LinkConnection)
        self.label_routerB.setObjectName("label_routerB")
        self.gridLayout.addWidget(self.label_routerB, 0, 3, 1, 1)
        self.lineEdit_delay = QtGui.QLineEdit(LinkConnection)
        self.lineEdit_delay.setObjectName("lineEdit_delay")
        self.gridLayout.addWidget(self.lineEdit_delay, 2, 2, 1, 1)
        self.label_5 = QtGui.QLabel(LinkConnection)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 1, 2, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        self.buttonBox = QtGui.QDialogButtonBox(LinkConnection)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(LinkConnection)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), LinkConnection.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), LinkConnection.reject)
        QtCore.QMetaObject.connectSlotsByName(LinkConnection)

    def retranslateUi(self, LinkConnection):
        LinkConnection.setWindowTitle(QtGui.QApplication.translate("LinkConnection", "Link Connection", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("LinkConnection", "Slot", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("LinkConnection", "Port", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("LinkConnection", "Slot", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("LinkConnection", "Port", None, QtGui.QApplication.UnicodeUTF8))
        self.label_routerA.setText(QtGui.QApplication.translate("LinkConnection", "Router A", None, QtGui.QApplication.UnicodeUTF8))
        self.label_routerB.setText(QtGui.QApplication.translate("LinkConnection", "Router B", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_delay.setText(QtGui.QApplication.translate("LinkConnection", "1.0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("LinkConnection", "Delay(ms)", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    LinkConnection = QtGui.QDialog()
    ui = Ui_LinkConnection()
    ui.setupUi(LinkConnection)
    LinkConnection.show()
    sys.exit(app.exec_())

